<%@ page language="java" %>

<%@ page import="com.scalar.chiptrack.users.User,
                com.scalar.chiptrack.users.UserGroup,
                com.scalar.chiptrack.commons.SessionKeys,
                com.scalar.chiptrack.utils.ConfigManager"%>

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/chiptrack-tags.tld" prefix="chiptrack" %>

<chiptrack:checkLogon sourcePage="/jsp/operations/operations.jsp"/>

<%String chipTracContext = "/" + ConfigManager.getChipTracContext();%>

<HTML><HEAD><TITLE>Scalarsoft - ChipTrac</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<LINK href="<%=chipTracContext%>/jsp/includes/stylesheets/scalarsoft.css" type=text/css rel=stylesheet>

<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY bgColor='#ffffff' leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">

<SCRIPT language="JavaScript">
    function getRadioValue(objname){
        frmobj = document.forms[0];
        for(var i=0; i<frmobj.length;i++){
             if((frmobj.elements[i].name==objname) && (frmobj.elements[i].checked)){
                    return (frmobj.elements[i].value);
             }
        }   
    }

    function submitPage()
    { 
        
        if(getRadioValue('boardorkit') == 'BOARD')
            document.forms[0].action.value = "BoardMaking";
        else 
            document.forms[0].action.value = ""; //For kit null value to send 

        document.forms[0].submit();
    }
</SCRIPT>
<!-- Top Header Start-->
<%@ include file="/jsp/includes/header.jsp" %>
<!-- Top Header End-->

<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
	<TD width='180' valign='top' background='<%=chipTracContext%>/jsp/includes/images/left_red_bg.gif'>

<!-- Side Navigation start -->
<%@ include file="/jsp/operations/operations_menu.jsp" %></TD>
<!-- end of the side navigations -->

<TD bgcolor="#ffffff">
<IMG height=9 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=8></TD>
<TD bgcolor="#ffffff"><IMG height=480 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=2></TD>
<TD valign="top" width="100%">

<IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/clear.gif" width=500 border=0>
<BR>

<!-- from here your body starts -->
<html:form name="kitMakingForm" type="com.scalar.chiptrack.operations.process.forms.KitMakingForm" action="/kitMaking">
<input type="hidden" name="action" value="">
<TABLE width='90%' align=right cellpadding='0' cellspacing='0' border='0'>
    <TR><TD class='NArialW' colspan=2> Select the Board or Kit making process </TD></TR>
    <TR><TD><IMG height=10 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif"></TD>
    <TR>
        <TD class='NArialL'><input type=radio name="boardorkit" value="BOARD"> Board Making </TD>
        <TD class='NArialL'><input type=radio name="boardorkit" value="KIT" disabled="true"> Kit Making </TD>
    </TR>
    <TR><TD><IMG height=10 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif"></TD>
    <TR><TD><a href="javascript:submitPage();"><img src="<%=chipTracContext%>/jsp/includes/images/next.gif" border=0></a></TD>
</TABLE>
</html:form>
<!-- till here -->

<!-- till here -->
<BR><BR><BR></TD>
<TD bgcolor="#ffffff"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
</TR>
</TABLE>

<!-- Footer starts here -->
<%@ include file="/jsp/includes/footer.jsp" %>
<!-- footer end here -->

</BODY>
</HTML>